import request from '@/utils/request';
export async function fetchAssumeRole() {
    return request('/api/upload/assumeRole', {
      method: 'GET',
    });
  }

  export async function  fetchUploadFront(params:any) {
    return request('/api/upload/resource/frontEnd', {
      method: 'POST',
      data: params,
      requestType: 'form',
    });
  }

  export async function  frontEndBatch(params:any) {
    return request('/api/upload/resource/frontEndBatch', {
      method: 'POST',
      data: params,
      requestType: 'form',
    });
  }


 